Parameters
- bits
Library/Library.Test/TestSalt.cs
C# | Copy Code |
---|---|
byte[] test = new byte[16]; Assert.AreEqual(new byte[16], test); Salt.CreateBytes(test); Assert.AreNotEqual(new byte[16], test); Assert.AreNotEqual(Salt.CreateBytes(Salt.Size.b128), test); |
VB.NET | Copy Code |
---|---|
Dim test As Byte() = New Byte(16) {} Assert.AreEqual(New Byte(16) {}, test) Salt.CreateBytes(test) Assert.AreNotEqual(New Byte(16) {}, test) Assert.AreNotEqual(Salt.CreateBytes(Salt.Size.b128), test) |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7
Reference
Salt ClassSalt Members
Overload List